package org.csu.cms.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("orders")
public class Order {

    @TableId
    private String orderNumber;

    private String accountId;
    private String productName;

    private int quantity;
    private String remarks;
    private String state;

    public Order(String orderNumber, String accountId, String productName, int quantity, String remarks, String state) {
        this.orderNumber = orderNumber;
        this.productName = productName;
        this.accountId = accountId;
        this.quantity = quantity;
        this.remarks = remarks;
        this.state = state;
    }

    public Order() {

    }

}
